package com.itboy.mall.wms.warepurchasedetail.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.itboy.common.annotation.Excel;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 采购需求
视图对象 mall_ware_purchase_detail
 *
 * @author itboy
 * @date 2021-08-10
 */
@Data
@ApiModel("采购需求视图对象")
public class MallWarePurchaseDetailVo {

	private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
	@ApiModelProperty("$pkColumn.columnComment")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

    /**
     * 采购单id
     */
	@Excel(name = "采购单id")
	@ApiModelProperty("采购单id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long purchaseId;

    /**
     * 采购商品id
     */
	@Excel(name = "采购商品id")
	@ApiModelProperty("采购商品id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long skuId;

    /**
     * 采购数量
     */
	@Excel(name = "采购数量")
	@ApiModelProperty("采购数量")
	private Long skuNum;

    /**
     * 采购金额
     */
	@Excel(name = "采购金额")
	@ApiModelProperty("采购金额")
	private BigDecimal skuPrice;

    /**
     * 仓库id
     */
	@Excel(name = "仓库id")
	@ApiModelProperty("仓库id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long wareId;


	/**
	 * 仓库名称
	 */
	@Excel(name = "仓库名称")
	@ApiModelProperty("仓库名称")
	private String wareName;

    /**
     * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
     */
	@Excel(name = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
	@ApiModelProperty("状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
	private Long status;


}
